home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-05 | 4.0 KB | 115 lines | [TEXT/R*ch] |
- Instant Subclass 1.0
- Eliminate the C++ drudgery!
- ©1995-1996 Chris K. Thomas. All Rights Reserved.
-
- Instant Subclass is a developer tool which generates subclass template code
- from your base classes-
-
- See the Magic! Drop your .h file on Instant Subclass. Turn on the methods
- you wish to inherit. Click Generate, and your new .cp and .h files with
- boilerplate code are instantly generated! Every C++ programmer should have
- it so easy!
-
- Don’t forget to Register. Only $10. I think it was Heinlein who said that
- the only meaningful applause arrives in great big piles of folding green
- paper. If you truly can't afford it, I also accept applause (and abuse) via
- ckt@kagi.com.
-
- ——— Version History —————————————————————————————————————————————————————————
-
- • 1.0.1 April-May 1996 First Well-Rounded Release
-
- Features Added:
- * The file header (version history, copyright, etc) is now parameterized.
- Customize!
- * I switched from “turning *off* methods you don’t want” to “turning *on*
- methods you do want.” This seems to make more sense. Give me a yell
- if you care.
-
- Bugs fixed:
- * "virtual" included in the method implementation declaration in the .cp file.
- * used the base class' name for the destructor
- * lots of minor application bugs not relevant to source generation.
- * No 68k build (forgetfulness)
-
- Bugs partially fixed:
- * difficult to select methods in the methods list. The full fix awaits a
- new version of PowerPlant. Should at least behave normally if you don’t
- drag while selecting.
-
-
- • 1.0 First Buggy Release
-
- ——— Customization ———————————————————————————————————————————————————————————
-
- In the file "Source Generation Templates," there is a TEXT resource, id 128.
- This resource contains the text of the file header. Instant Subclass does an
- intermediate variable substition scan and then places it at the beginning of
- both generated files.
-
- The variable substition scan replaces any variables found with text
- generated internally corresponding to that variable.
-
- Currently, only one variable is supported:
-
- Variable Replaced with
- <FileName> Filename of the current file.
-
- I plan to add:
- <LongDate> Tuesday, 34 March 1907
- <ShortDate> 5/34/07
- <Year> 1907
-
- The same mechanism will be used for parameterization of other text, most
- importantly class and method declarations, and new variables will be added
- as needed.
-
- There's an example of a PowerPlant-style template file in the “Variations
- on a Theme” folder.
-
- ——— Limitations —————————————————————————————————————————————————————————————
-
- InstantSubclass can't handle preprocessor weirdness, such as:
-
- class Gibberish
- {
- virtual void SAVE_DECLARED_METHOD(MyDeclaredMethod, (char *methodArg));
- };
-
- This, BTW, is one of the reasons that opponents of the C preprocessor
- wish to see the preprocessor eliminated from the language specification.
-
-
- ——— Future Plans ————————————————————————————————————————————————————————————
-
- Suggestions, ideas and bug reports are all entirely welcome at ckt@best.com.
-
- Next few versions...
- 1. all of the generated code will be parameterized through a template file.
- 2. support for multiple template files- add a pop-up menu allowing instant
- selection of a particular template file.
- 3. do something about friends and copy constructors (but what?)
- 4. implement the base class access controls.
- 5. inherit from structs. This is trivial, but to be effective requires 6:
- 6. include an option to not add classes without methods to the class list.
- 7. support for other languages is possible. This will probably be
- accomplished through template files.
- 8. fix bugs, fix bugs, fix bugs...
-
- further off...
- • add support for the derivation of SOM-based classes
- • add full AppleScript support - tedious but very cool
-
-
- ——— Legalities ——————————————————————————————————————————————————————————————
-
- * This software is provided AS IS.
-
- * Instant Subclass may be included on any and all CD-ROMs on the
- condition that I receive one copy of any and all such CD-ROMS including
- Instant Subclass.
-
- * Instant Subclass may not be distributed via the Microsoft Network.
-
- * Instant Subclass may not be distributed via Prodigy.
-